package com.wq.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/blog/setting")
public class SettingController {

    @PostMapping("/detail")
    public String detail(){
        return "{\n" +
                "        \"success\": true,\n" +
                "        \"message\": null,\n" +
                "        \"errorCode\": null,\n" +
                "        \"data\": {\n" +
                "        \"logo\": \"https://img.quanxiaoha.com/quanxiaoha/f97361c0429d4bb1bc276ab835843065.jpg\",\n" +
                "        \"name\": \"犬小哈的演示博客\",\n" +
                "        \"author\": \"犬小哈\",\n" +
                "        \"introduction\": \"一枚程序员\",\n" +
                "        \"avatar\": \"https://img.quanxiaoha.com/quanxiaoha/1e5a7ec0c3294fdfbdbd40577ba656a2.jpg\",\n" +
                "        \"githubHomepage\": \"https://www.quanxiaoha.com\",\n" +
                "        \"csdnHomepage\": \"https://www.quanxiaoha.com\",\n" +
                "        \"giteeHomepage\": \"https://www.quanxiaoha.com\",\n" +
                "        \"zhihuHomepage\": \"https://www.quanxiaoha.com\"\n" +
                "        }\n" +
                "        }";
    }
}
